package com.bgybmi.entity;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;

public class JbDevice extends Model<JbDevice>{
	
	private static final long serialVersionUID = -503838622896045124L;//用于序列化和反序列化
	
	public static final JbDevice me = new JbDevice();
	
	private static final String tablename="jb_device"; 
	
	public List<JbDevice> listAllDevice(){
		return me.find(CommonStatic.listAll(tablename));
	}
}
